package wangwenjun.phase2.concurrencypattern.eventbus.google.demo04;

import com.google.common.base.MoreObjects;
import lombok.Data;

/**
 * @author ChangLiang
 * @date 2020/6/19
 */
@Data
public class Fruit {

    private final String name;

    public Fruit(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this).add("Name", name).toString();
    }
}
